body{
    padding: 0px;
    margin:0px;
}
.container {
    max-width: 100vw;
    height: auto;
    background-image: url("/static/images/background.jpg");
    background-position: top center;
    /* 让背景图基于容器大小伸缩 */
    background-size: 100% auto;
    background-repeat: no-repeat;
    margin: 0px;
    padding: 0px;
    text-align: center;
    overflow: scroll;
    position:relative;
}

.msg {
    visibility:hidden;
    background: rgba(0,0,0,.7);
    position: fixed;
    width: 100%;
    height: 100%;
    top:0;
    left: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
}
.msg-box{
    max-width: 80vw;
    min-width: 60vw;
    text-align: center;
    margin: auto;
    max-height: 80%;
    min-height: 10vh;
    background: #ddd376;
    z-index: 999;
    border-radius: 5px;
    position: relative;
    padding: 1em;
}

.msg .msg-close {
    display: block;
    width: 20px;
    height: 20px;
    color: white;
    background: red;
    border: solid white 1px;
    border-radius: 10px;
    position: absolute;
    right: -8px;
    top: -8px;
    text-align: center;
    line-height: 18px;
    z-index: 99999;
}

.msg .msg-content {
    overflow-y: scroll;
    width: 100%;
    text-align: center;
    color: white;
    display: flex;
    max-height: 60vh;
}
.msg .notice{
    position: absolute;
    right: 20px;
    top: 0px;
    visibility: hidden;
    color: white;
}

.dialog {
    background: rgba(0,0,0,.7);
    position: fixed;
    width: 100%;
    height: 100%;
    top:0;
    left: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
}
.dialog-box{
    max-width: 80vw;
    min-width: 60vw;
    text-align: center;
    margin: auto;
    max-height: 80%;
    min-height: 10vh;
    background: #ddd376;
    z-index: 999;
    border-radius: 5px;
    position: relative;
    padding: 1em;
}

.dialog .dialog-close {
    display: block;
    width: 20px;
    height: 20px;
    color: white;
    background: red;
    border: solid white 1px;
    border-radius: 10px;
    position: absolute;
    right: -8px;
    top: -8px;
    text-align: center;
    line-height: 18px;
    z-index: 99999;
}

.dialog .dialog-content {
    overflow-y: scroll;
    width: 100%;
    text-align: center;
    color: white;
    display: flex;
    max-height: 60vh;
}
.notice{
    position: fixed;
    right: 0px;
    top: 0px;
    visibility: hidden;
    color: white;
    background: #000;
    opacity: 0.6;
    z-index:99;
    width: 100vw;
    height: 100vh;
}
.notice>p{
    float: right;
}

.button {
    width: 8em;
    height: 2.6em;
    background-color: orangered;
    color: white;
    border-radius: 1.5em;
    font-size: 1em;
    padding: 0.2em;
    border: solid #ff6c31 1px;
    outline: none;
    margin: 0.3em;
}

.button:hover {
    background-color: #c03400;
}

.min-button {
    width: 6em;
    height: 2em;
    background-color: orangered;
    color: white;
    border-radius: 1.2em;
    font-size: 0.8em;
    padding: 0.1em;
    border: solid #ff6c31 1px;
    outline: none;
    margin: 0.2em;
    line-height: 1.8em;
    text-align: center;
}

.min-button:hover {
    background-color: #c03400;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    -webkit-tap-highlight-color: transparent;
    outline: none;
}
